package com.maserb.monitor.enums;

public enum SampleFrequenceEnum {
    _1KHZ(1, "1K Hz"), _4KHz(2, "4K Hz");

    private int value;
    private String name;

    SampleFrequenceEnum(int value, String name) {
        this.value = value;
        this.name = name;
    }

    public int getValue() {
        return value;
    }

    public String getName() {
        return name;
    }

    public boolean equals(SampleFrequenceEnum item) {
        return this.getValue() == item.getValue() && this.getName().equals(item.getValue());
    }
}
